package org.backend.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.backend.pojo.entity.Message;

import java.util.List;

@Mapper
public interface MessageMapper {

    List<Message> getHistoryMessageByOpenid(String receiverId);

    int addMessage(Message message);
}
